<div id="upd-form-reservation">
	<h4>Formulaire de modification d'une reservation</h4>
	<form action="#">
		<?php
			include("../database.php");
			$sql = Database::getInstance();
		?>
		<input type="hidden" id="idAssoc" value="<?php echo $sql->getIdAssoc($_COOKIE["m2l"])->numero_association; ?>" />
		<input type="hidden" id="idResa" value="" />
	<p>
		<label for="categorie">Categorie du materiel :</label><select name="categorie" id="categorie">
			<option value="empty"></option>
				<?php
					$list_cat = $sql->getAllMaterielSportByAssoc($sql->getIdAssoc($_COOKIE["m2l"])->numero_association);
					foreach($list_cat as $cat) {
						echo '<option value='.$cat->id_materiel_sport.'>'.$cat->designation_materiel_sport.'</option>';
					}
				?>
		</select>
	</p>
	<p>
		<label for="materiel">materiel : </label>
			<select name="materiel" id="materiel">
				<option value="empty"></option>
				
			</select>
	</p>
	<p>
		<label for="date">Date de la réservation : </label><input id="date" name="date" placeholder="AAAA-MM-JJ" value="2013-05-21" />
	</p>
	<p>
		<label for="taille_lot">Taille du lot : </label>
		<select name="taille_lot" id="taille_lot">
			<option value="empty"></option>
				
		</select>
	</p>
	<p>
		<input type="button" value="Effectuer la réservation" id="updReservation" />
	</p>
	</form>
</div>